package sanrenxing.dayEnd.backRepertoryTotal.domain;

import java.io.Serializable;

/**
 * 功能：证券实体类
 * 编写者：蒋玲苹
 * 日期：2021-03-18
 * 版本：1.0
 */
public class Financialsecurities implements Serializable {
    //证券编号
    private String seId;
    //证券名称
    private String seName;
    //证券类型
    private int seType;
    //交易所ID
    private int breedRateId;
    //发行日期
    private String issueDate;
    //延迟日期
    private String delayDate;
    //股票板块
    private String stockId;
    //默认构造方法
    public Financialsecurities() {
    }
    //带参构造方法


    public Financialsecurities(String seId, String seName, int seType, int breedRateId, String issueDate, String delayDate, String stockId) {
        this.seId = seId;
        this.seName = seName;
        this.seType = seType;
        this.breedRateId = breedRateId;
        this.issueDate = issueDate;
        this.delayDate = delayDate;
        this.stockId = stockId;
    }

    //set和get方法
    public String getSeId() {
        return seId;
    }

    public void setSeId(String seId) {
        this.seId = seId;
    }

    public String getSeName() {
        return seName;
    }

    public void setSeName(String seName) {
        if(seName.trim().equals("")){
            this.seName=null;
        }else
        this.seName = seName;
    }

    public int getSeType() {
        return seType;
    }

    public void setSeType(String seType) {
        if(seType.trim().equals("")){
            this.seType=0;
        }else
        this.seType = Integer.parseInt(seType);
    }

    public int getBreedRateId() {
        return breedRateId;
    }

    public void setBreedRateId(int breedRateId) {
        this.breedRateId = breedRateId;
    }

    public String getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(String issueDate) {
        this.issueDate = issueDate;
    }

    public String getDelayDate() {
        return delayDate;
    }

    public void setDelayDate(String delayDate) {
        this.delayDate = delayDate;
    }

    public String getStockId() {
        return stockId;
    }

    public void setStockId(String stockId) {
        this.stockId = stockId;
    }
}
